class StaticPagesController < ApplicationController
	
	skip_before_filter :require_logged_in, only: [:root, :contact, :legal_notice, :help]
	skip_before_filter :enforce_access_control, only: :root
	
	# Root entry page of the Website. Differentiates between guests and logged-in users.
	def root
		if current_user.guest?
			redirect_to archive_path
		else
			redirect_to home_path
		end
	end
	
	def home
	end
	
	def preferences
	end
	
	def contact			
	end
  
	def legal_notice
	end

	def help
	end
	
end
